/**
 * 字典创建字段
 */
export interface createDictionaryRequest {
    name: String,
    code: String,
    enable: Boolean,
    description?: String,
    sort?: Number
}

/**
 * 字典修改字段
 */
export interface updateDictionaryRequest extends createDictionaryRequest {
    id: String,
}

/**
 * 字典项搜索字段
 */
export interface searchDictionaryItemRequest {
    dictionaryId: String,
    name?: String,
    value?: String
}

/**
 * 创建字典项字段
 */
export interface createDictionaryItemRequest {
    dictionaryId: String,
    parentId?: String,
    name: String,
    value: String,
    description: String,
    sort?: Number,
    Enable: Boolean
}

/**
 * 修改字典项
 */
export interface updateDictionaryItemRequest extends createDictionaryItemRequest {
    id: String,

}